<?php
	include_once("../session_ini.php");
	include_once("../model/ParticipanteService.php");
	$service = new ParticipanteService();
	
	header("Content-type: application/json");
    echo json_encode($service->getDestinatarios($_GET["q"], $_SESSION["id_usuario"]));
?>